
package ciicos.service;

import ciicos.entity.LineQuestionOptionsEntity;
import ciicos.service.LineQuestionOptionsService;

import ciicos.entity.LineQuestionEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import ciicos.model.linequestion.*;

import java.util.*;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

/**
 * 题库管理
 * 版本： V3.2.0
 * 版权：
 * 作者： 企业研发中心
 * 日期： 2025-10-07
 */
public interface LineQuestionService extends IService<LineQuestionEntity> {


    List<LineQuestionEntity> getList(LineQuestionPagination lineQuestionPagination);

    List<LineQuestionEntity> getTypeList(LineQuestionPagination lineQuestionPagination, String dataType);


    LineQuestionEntity getInfo(String id);

    void delete(LineQuestionEntity entity);

    void create(LineQuestionEntity entity);

    boolean update(String id, LineQuestionEntity entity);

    //  子表方法
    List<LineQuestionOptionsEntity> getLineQuestionOptionsList(String id, LineQuestionPagination lineQuestionPagination);

    List<LineQuestionOptionsEntity> getLineQuestionOptionsList(String id);

    //列表子表数据方法

    //验证表单
    String checkForm(LineQuestionForm form, int i);
}
